package Thread;
class MyThread2 extends Thread{
    @Override
    public void run(){
        System.out.println("hello thread1");
    }
}
public class Demo4 {
    public static void main(String[] args) {
        Thread t=new MyThread2();
            System.out.println(t.isDaemon());
        }
    }

